/**
 * 
 */
package com.apanal.qlife.app.service;

import com.apanal.qlife.app.model.SoftwareVer;
import com.apanal.qlife.common.page.Page;
import com.apanal.qlife.common.page.PageReturn;
import com.apanal.qlife.sys.model.User;

/**
 * @author Admin
 *
 */
public interface AppService {
	
	/**
	 * 查询App帐号
	 * @param user
	 * @param page
	 * @param model
	 * @return
	 */
	public PageReturn<User> findAppUserList(User user,Page page);
	
	/**
	 * 查询App帐号
	 * @param user
	 * @param page
	 * @param model
	 * @return
	 */
	public User findAppUserInfo(User user);
	
	/**
	 * 查询版本List
	 * @param softwareVer
	 * @param page
	 * @return
	 */
	public PageReturn<SoftwareVer> findVersionList(SoftwareVer softwareVer,Page page);
	
	/**
	 * 保存版本信息
	 * @param record
	 * @return
	 */
	public int insertSelective(SoftwareVer softwareVer);
	/**
	 * 查询版本信息
	 * @param record
	 * @return
	 */
	public SoftwareVer findAppVersion(SoftwareVer softwareVer);
	
	/**
	 * 更新版本信息
	 * @param record
	 * @return
	 */
	public int updateAppVersion(SoftwareVer softwareVer);
	
}
